<template>
  <div class="about">
    <tinymce id="tinymce" v-model="data" :other_options="options"></tinymce>
  </div>
</template>
<script lang="ts">
import Vue from "vue";
import "../static/langs/zh_CN.js";
export default {
  name: "app",
  data() {
    return {
      data: "",
      options: {
        images_upload_handler: (blobInfo, success, failure) => {
          const img = "data:image/jpeg;base64," + blobInfo.base64();
          success(img);
        },
        toolbar1:"formatselect | bold italic  strikethrough  forecolor backcolor | link media image | preview fullscreen | alignleft aligncenter alignright alignjustify  | numlist bullist outdent indent  | removeformat",
        toolbar_drawer: 'floating',
        media_live_embeds: true
      }
    };
  },

  methods: {}
};
</script>
<style lang="scss" scoped>
</style>
